<template>
	<view class="content">
		<lxc_nav text='购买套餐' :bacicon="'#fff'" :background='bac'></lxc_nav>
		<view id="box">
			<view class="ba_top">
				<image src="../../static/transaction/hybj.png" mode=""></image>
			</view>
			<view class="report_list">
				<view class="report">
					<view class="report_img">
						<image src="../../static/transaction/xjq.png" mode=""></image>
					</view>
					<view class="report_text">
						<text>小机器人</text>
						</br>
						<image src="../../static/transaction/sj.png" mode=""></image>
						<text>体验时间：&nbsp;7天</text></br>
						<text>可同时绑定3个策略</text>
					</view>
					<view class="report_right">
						<image src="../../static/transaction/jinb.png" mode=""></image>
						<text>50U</text>
					</view>
				</view>
				<view class="report_list">
					<view class="report">
						<view class="report_img">
							<image src="../../static/transaction/zjq.png" mode=""></image>
						</view>
						<view class="report_text">
							<text>中机器人</text>
							</br>
							<image src="../../static/transaction/sj.png" mode=""></image>
							<text>体验时间：&nbsp;15天</text></br>
							<text>可同时绑定5个策略</text>
						</view>
						<view class="report_right">
							<image src="../../static/transaction/jinb.png" mode=""></image>
							<text>70U</text>
						</view>
					</view>
				</view>	<view class="report_list">
				<view class="report">
					<view class="report_img">
						<image src="../../static/transaction/djq.png" mode=""></image>
					</view>
					<view class="report_text">
						<text>大机器人</text>
						</br>
						<image src="../../static/transaction/sj.png" mode=""></image>
						<text>体验时间：&nbsp;30天</text></br>
						<text>可同时绑定10个策略</text>
					</view>
					<view class="report_right">
						<image src="../../static/transaction/jinb.png" mode=""></image>
						<text>80U</text>
					</view>
				</view>
			</view>
			</view>
			
			
		</view>
	</view>
</template>

<script>
	import lxc_nav from '../../components/nav.vue'
	export default {
		components: {
			lxc_nav
		},
		onPageScroll(e) {
			// 传入scrollTop值并触发所有easy-loadimage组件下的滚动监听事件
			// this.scrollTop = e.scrollTop;
			console.log(e.scrollTop);
			if (e.scrollTop > 22) {
				this.bac = {
					backgroundImage: 'linear-gradient(150deg,rgba(25, 137, 250, 1), rgba(18, 174, 255, 1))'
				}
			} else {
				this.bac = {
					backgroundImage: 'linear-gradient(150deg,rgba(25, 137, 250, 0), rgba(18, 174, 255, 0))'
				}
			}
		},
		data() {
			return {
				bac: {
					backgroundImage: 'linear-gradient(150deg,rgba(25, 137, 250, 0), rgba(18, 174, 255, 0))'
				}
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	#box {
		position: relative;
		// color: $u-content-color;
		width: 100vw;
		margin-top: 88rpx;
	}

	.ba_top {
		position: absolute;
		width: 100vw;
		margin-top: -22vw;
		
	}
	.ba_top image{
		width: 100%;
	}
	.report{
		position: relative;
		width: 96vw;
		margin-left: 2vw;
		height: 210rpx;
		top: 206rpx;
		display: flex;
		box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.35);
		border-radius: 10px;
		background: #FFFFFF;
		margin-bottom: 20rpx;
	}
	.report_img{
		width: 89rpx;
		height: 143rpx;
		margin-top: 33rpx;
		margin-left: 51rpx;
		display: inline-block;
	}
	.report_img image{
		width: 100%;
		height: 100%;
	}
	.report_text{
		height: 100%;
		display: inline-block;
		margin-left: 50rpx;
	}
	.report_text text:nth-child(1){
		display: inline-block;
		font-size: 32rpx;
		font-family: PingFang SC;
		font-weight: 800;
		color: #333333;
		line-height: 36rpx;
		margin-top: 30rpx;
		margin-left: 6rpx;
	}
	.report_text text:nth-child(4){
		position: relative;
		display: inline-block;
		font-size: 24rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #999999;
		line-height: 36rpx;
		top: 29rpx;
		left: 11rpx;
	}
	.report_text text:nth-child(6){
		position: relative;
		display: inline-block;
		font-size: 24rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #999999;
		line-height: 36rpx;
		top: 36rpx;
	}
	.report_text image{
		width: 27rpx;
		height: 27rpx;
		top: 33rpx;
	}
	.report_right{
		height: 50rpx;
		background-color: #1989FA;
		position: absolute;
		right: 28rpx;
		top: 80rpx;
		display: flex;
		padding-left: 20rpx;
		border-radius: 25rpx;
	}
	.report_right text{
		font-size: 28rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #FFFFFF;
		line-height: 50rpx;
		margin-left: 10rpx;
		margin-right: 15rpx;
	}
	.report_right image{
		height: 30rpx;
		width: 28rpx;
		margin-top: 10rpx;
	}
</style>
